package com.ccloud.common.im.enums;


/**
 * @author chentl
 * @version V1.0
 * @Project ReadEnum
 * @Title ReadEnum.java
 * @Description 消息类型 枚举类
 * @date 2019/12/31 14:37
 */
public enum ContentTypeEnum implements CodeEnum {
    //文本消息 网页模板
    TEXT("text", "文本消息"),
    HTML("html", "网页模板");

    ContentTypeEnum(String code, String body) {
        this.code = code;
        this.body = body;
    }

    private String code;

    private String body;

    @Override
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
